import json
import os


def read_login_data():
    filename = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
    data_path = os.path.join(filename, "data", "login.json")
    with open(data_path, "r", encoding="utf-8") as f:
        login_data = json.load(f)
    return login_data
